package lab02.Test10;

/**
 * Created by mac on 2017/10/25.
 */
public class BeiJingPeople extends People {
    //属性

    String Beijing;

    //方法：吃饭，睡觉

    void eat(){}
    void sleep(){}
    String getString(){
        return name+'|'+gender+'|'+age+'|'+idcard+'|'+Beijing;
    }
}
